//
//  Log.swift
//  test-ios
//
//  Created by wyz5204 on 2023/4/1.
//

import Foundation

class LogEntry : Entity {
    
    public var date: String
    public var isWorking: Bool
    public var loggedTimeRecords: [LoggedTimeRecord]
    
    public init(date: String,
                isWorking: Bool,
                loggedTimeRecords: [LoggedTimeRecord]) {
        self.date = date
        self.isWorking = isWorking
        self.loggedTimeRecords = loggedTimeRecords
    }
    
    required public init() {
        self.date = ""
        self.isWorking = false
        self.loggedTimeRecords = [LoggedTimeRecord]()
    }
}
